var\cache\dev\twig\ba\baf53746f972fe622f0abeef884da5a02e74e72f964d70ef15413467bf3b7d19.php line 50

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @GinsaSistema/FAQ/faqPreguntaShow.html.twig */
  14. class __TwigTemplate_85926b75b2a1716856fd2cdbb4c02f71f84d1d6110d8c8cd6c9996e0c55bb48f extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'body_id' => [$this'block_body_id'],
  24.             'stylesheets' => [$this'block_stylesheets'],
  25.             'contentBody' => [$this'block_contentBody'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return $this->loadTemplate((isset($context["base"]) || array_key_exists("base"$context) ? $context["base"] : (function () { throw new RuntimeError('Variable "base" does not exist.'1$this->source); })()), "@GinsaSistema/FAQ/faqPreguntaShow.html.twig"1);
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@GinsaSistema/FAQ/faqPreguntaShow.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@GinsaSistema/FAQ/faqPreguntaShow.html.twig"));
  41.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_body_id($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_id"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_id"));
  55.         echo "faqPreguntaShow";
  56.         
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  58.         
  59.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  60.     }
  61.     // line 5
  62.     public function block_stylesheets($context, array $blocks = [])
  63.     {
  64.         $macros $this->macros;
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  69.         // line 6
  70.         echo "        ";
  71.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("faq");
  72.         echo "
  73.     ";
  74.         
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  76.         
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  78.     }
  79.     // line 9
  80.     public function block_contentBody($context, array $blocks = [])
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentBody"));
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentBody"));
  87.         // line 10
  88.         echo "
  89.     <div class=\"card bg-light pregunta\">
  90.         <div class=\"card-header\"><h3>";
  91.         // line 12
  92.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["pregunta"]) || array_key_exists("pregunta"$context) ? $context["pregunta"] : (function () { throw new RuntimeError('Variable "pregunta" does not exist.'12$this->source); })()), 0, [], "array"falsefalsefalse12), ("titulo" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "request", [], "any"falsefalsefalse12), "getLocale", [], "method"falsefalsefalse12)), [], "any"falsefalsefalse12), "html"nulltrue);
  93.         echo "</h3></div>
  94.         <div class=\"card-body\">
  95.             <div class=\"row\">";
  96.         // line 14
  97.         echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["pregunta"]) || array_key_exists("pregunta"$context) ? $context["pregunta"] : (function () { throw new RuntimeError('Variable "pregunta" does not exist.'14$this->source); })()), 0, [], "array"falsefalsefalse14), ("body" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'14$this->source); })()), "request", [], "any"falsefalsefalse14), "getLocale", [], "method"falsefalsefalse14)), [], "any"falsefalsefalse14);
  98.         echo "</div>
  99.             <hr>
  100.             <div class=\"row inicio justify-content-center\">
  101.                 <a href=\"";
  102.         // line 19
  103.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ginsa_sistema_faq_index");
  104.         echo "\">
  105.                     <button class=\"btn btn-primary\">
  106.                         ";
  107.         // line 21
  108.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("faq.inicio"), "html"nulltrue);
  109.         echo "
  110.                     </button>
  111.                 </a>
  112.             </div>
  113.         </div>
  114.     </div>
  115. ";
  116.         
  117.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  118.         
  119.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  120.     }
  121.     // line 30
  122.     public function block_javascripts($context, array $blocks = [])
  123.     {
  124.         $macros $this->macros;
  125.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  127.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  129.         // line 31
  130.         echo "    ";
  131.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("faq");
  132.         echo "
  133. ";
  134.         
  135.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  136.         
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  138.     }
  139.     public function getTemplateName()
  140.     {
  141.         return "@GinsaSistema/FAQ/faqPreguntaShow.html.twig";
  142.     }
  143.     public function isTraitable()
  144.     {
  145.         return false;
  146.     }
  147.     public function getDebugInfo()
  148.     {
  149.         return array (  162 => 31,  152 => 30,  134 => 21,  129 => 19,  121 => 14,  116 => 12,  112 => 10,  102 => 9,  89 => 6,  79 => 5,  60 => 3,  38 => 1,);
  150.     }
  151.     public function getSourceContext()
  152.     {
  153.         return new Source("{% extends base %}
  154. {% block body_id 'faqPreguntaShow' %}
  155.     {% block stylesheets %}
  156.         {{ encore_entry_link_tags('faq') }}
  157.     {% endblock %}
  158. {% block contentBody %}
  159.     <div class=\"card bg-light pregunta\">
  160.         <div class=\"card-header\"><h3>{{ attribute(pregunta[0], 'titulo'~app.request.getLocale()) }}</h3></div>
  161.         <div class=\"card-body\">
  162.             <div class=\"row\">{{ attribute(pregunta[0], 'body'~app.request.getLocale())|raw }}</div>
  163.             <hr>
  164.             <div class=\"row inicio justify-content-center\">
  165.                 <a href=\"{{ path('ginsa_sistema_faq_index') }}\">
  166.                     <button class=\"btn btn-primary\">
  167.                         {{ 'faq.inicio'|trans }}
  168.                     </button>
  169.                 </a>
  170.             </div>
  171.         </div>
  172.     </div>
  173. {% endblock %}
  174. {% block javascripts %}
  175.     {{ encore_entry_script_tags('faq') }}
  176. {% endblock %}""@GinsaSistema/FAQ/faqPreguntaShow.html.twig""C:\\xampp\\htdocs\\php72\\AdministracionDigital\\src\\Ginsa\\SistemaBundle\\Resources\\views\\FAQ\\faqPreguntaShow.html.twig");
  177.     }
  178. }